<form action="/regedit" method="post" class="col-xs-4"  role="form">
  <div class="form-group">
    <label >用户名</label>
    <input type="text" name="name" class="form-control"  placeholder="用户名">
  </div>
  <div class="form-group">
    <label >密码</label>
    <input type="password" class="form-control" placeholder="密码">
  </div>
  <div class="form-group">
    <label >确认密码</label>
    <input type="password" class="form-control" name="pwd" placeholder="确认密码">
  </div>
  <div class="form-group">
    <label >Email </label>
    <input type="email" class="form-control" name="email" placeholder="email">
  </div>
  <div>{{.emsg}}</div>
  <button type="submit" class="btn btn-default">提交</button>
</form>